<!--<?php
print <<<EOT
-->
<style>
body{background-color:#f3f2ef;}
</style>
<div style="width:400px; margin:auto; margin-top:80px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13" height="13"><img src="images/admin/l1_c.gif" width="13" height="13"></td>
    <td background="images/admin/top_line.gif"></td>
    <td width="13" height="13"><img src="images/admin/r1_c.gif" width="13" height="13"></td>
  </tr>
  <tr>
    <td background="images/admin/l_line.gif"></td>
    <td style="padding:10px; background-color:#FFFFFF">
	<form action="$admin_file" method="post" target="_parent">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr><td colspan="2">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width=2><img src="images/admin/line_lft.png"></td>
        <td background="images/admin/loginline.png" style="color:white; font-weight:bold;height:30px; padding-left:10px;">用户登录</td>
        <td><img src="images/admin/line_rt.png"></td>
        </tr>
      </table>
      </td></tr>
      <tr>
        <td colspan="2">&nbsp;</td>
        </tr>
      <tr class="tr">
        <td width="30%" style="padding-left:15px;">用户名:</td>
        <td width="70%">
          <input name="username" type="text" class="input" size="30" maxlength="30" /></td>
      </tr>
      <tr class="tr">
        <td style="padding-left:15px">密&nbsp;&nbsp;&nbsp;码:</td>
        <td>
          <input name="password" type="password" class="input" size="30" maxlength="30" /></td>
      </tr>

       <tr class="tr">
        <td style="padding-left:15px">&nbsp;</td>
        <td>
          <input name="autologin" type="radio" id="radio" value="1" checked="checked" />
            保存登录
            <input type="radio" name="autologin" id="radio2" value="0" />
            不保存</td>
      </tr>
             <tr class="tr">
         <td style="padding-left:15px">&nbsp;</td>
         <td>&nbsp;</td>
       </tr>
<!--
EOT;
if(!$very[ckadmin]){
$rand = uniqid();
print <<<EOT
-->
      <tr class="tr">
        <td style="padding-left:15px">验证码:</td>
        <td><input name="ck" type="text" class="input" size="8" />
        <img src="ck.php?$rand" name="cknum" align="absmiddle" id='cknum' style="border:1px solid #CCCCCC;" onclick="showck();" />          </td>
      </tr>
      <tr class="tr">
        <td height="40" colspan="2" align="center"><a href="javascript:void(0);" onclick="showck();">看不清，换一张图片</a></td>
      </tr>
<!--
EOT;
}print <<<EOT
-->
      <tr class="tr">
        <td colspan="2" align="center">
          <input name="referer" type="hidden" id="referer" value="$referer" />
          <input type="hidden" name="action" value="in" />
        <input type="submit" name="Submit" value="登录" class="btn" /> &nbsp;&nbsp;&nbsp;
        <input type="button" name="Submit2" value="返回" class="btn" onClick="window.history.go(-1);" />        </td>
        </tr>
	  <tr class="tr">
	    <td colspan="2" align="center">&nbsp;</td>
	    </tr>
    </table>
	</form>
	</td>
    <td background="images/admin/r_line.gif"></td>
  </tr>
  <tr>
    <td width="13" height="13" background="images/admin/l2_c.gif"></td>
    <td height="13" background="images/admin/bot_line.gif"></td>
    <td background="images/admin/r2_c.gif"></td>
  </tr>
</table>

</div>
<script language="javascript">
if(window.parent == window){

}else{
	window.parent.location = window.location;
}
function showck(){
	var rand = new Date().valueOf();
	document.getElementById('cknum').src = 'ck.php?' + rand;
	//alert(ck.src);
	//return false;
}
</script>
<!--
EOT;
?>-->